<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Betterlife Front UI</title>
    <script src="www/js/common/base.min.js" charset="utf-8"></script>
    <script type="text/javascript">
      if ($_.browser.android) console.log("android");
      else if($_.browser.ios) console.log("ios");
      else console.log("desktop");

      var birthday = new Date("2017-02-22T11:24:00");
      console.log($_.dateTimeDiff(birthday));

      var a1=[1,3,6,7,8,10];
      var a2=[3,5,6,8];
      var a3=a1.concat(a2);
      console.log(a3);
      var a4=a1.diff(a2);
      console.log(a4);
      var uri = "http://betterlife.org/bb.html?technology=jquery&technology=css&blog=stackoverflow";
      console.log($_.params('technology',uri));
      console.log($_.params('blog',uri));
      console.log($_.params('go'));//默认当前访问URL路径
      console.log($_.params('author'));
    </script>
    <body>
      <div id="content">
        <ul>
          <li>a</li>
          <li>b</li>
          <li>c</li>
          <li>d</li>
          <li>e</li>
          <li>f</li>
        </ul>
      </div>

      <ul>
        <li>a</li>
        <li>b</li>
        <li>c</li>
        <li>d</li>
        <li>e</li>
        <li>f</li>
      </ul>
    </body>
    <script type="text/javascript">
        console.log($$("#content").html());
    </script>

</html>
